package com.comiee.airwalker.block

import com.comiee.airwalker.AirWalkerMod
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent
import net.minecraftforge.fml.common.registry.ForgeRegistries
import net.minecraftforge.fml.relauncher.{Side, SideOnly}

/**
 * 方块注册类
 */
object BlockLoader{

  def apply(event: FMLPreInitializationEvent): Unit = {
    ForgeRegistries.BLOCKS.registerAll(
      BlockAirGlass.setUnlocalizedName("air_glass").setRegistryName(AirWalkerMod.MODID,"air_glass")
    )
  }

  @SideOnly(Side.CLIENT)
  def registerRenders(): Unit = {
  }
}
